﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200017B RID: 379
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CancelExpeditionScRsp : IMessage<CancelExpeditionScRsp>, IMessage, IEquatable<CancelExpeditionScRsp>, IDeepCloneable<CancelExpeditionScRsp>, IBufferMessage
	{
		// Token: 0x17000502 RID: 1282
		// (get) Token: 0x0600110A RID: 4362 RVA: 0x00031918 File Offset: 0x0002FB18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CancelExpeditionScRsp> Parser
		{
			get
			{
				return CancelExpeditionScRsp._parser;
			}
		}

		// Token: 0x17000503 RID: 1283
		// (get) Token: 0x0600110B RID: 4363 RVA: 0x0003191F File Offset: 0x0002FB1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CancelExpeditionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000504 RID: 1284
		// (get) Token: 0x0600110C RID: 4364 RVA: 0x00031931 File Offset: 0x0002FB31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CancelExpeditionScRsp.Descriptor;
			}
		}

		// Token: 0x0600110D RID: 4365 RVA: 0x00031938 File Offset: 0x0002FB38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelExpeditionScRsp()
		{
		}

		// Token: 0x0600110E RID: 4366 RVA: 0x00031940 File Offset: 0x0002FB40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelExpeditionScRsp(CancelExpeditionScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.nPNHJLGFMIM_ = other.nPNHJLGFMIM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600110F RID: 4367 RVA: 0x00031971 File Offset: 0x0002FB71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelExpeditionScRsp Clone()
		{
			return new CancelExpeditionScRsp(this);
		}

		// Token: 0x17000505 RID: 1285
		// (get) Token: 0x06001110 RID: 4368 RVA: 0x00031979 File Offset: 0x0002FB79
		// (set) Token: 0x06001111 RID: 4369 RVA: 0x00031981 File Offset: 0x0002FB81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000506 RID: 1286
		// (get) Token: 0x06001112 RID: 4370 RVA: 0x0003198A File Offset: 0x0002FB8A
		// (set) Token: 0x06001113 RID: 4371 RVA: 0x00031992 File Offset: 0x0002FB92
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NPNHJLGFMIM
		{
			get
			{
				return this.nPNHJLGFMIM_;
			}
			set
			{
				this.nPNHJLGFMIM_ = value;
			}
		}

		// Token: 0x06001114 RID: 4372 RVA: 0x0003199B File Offset: 0x0002FB9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CancelExpeditionScRsp);
		}

		// Token: 0x06001115 RID: 4373 RVA: 0x000319A9 File Offset: 0x0002FBA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CancelExpeditionScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.NPNHJLGFMIM == other.NPNHJLGFMIM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001116 RID: 4374 RVA: 0x000319E8 File Offset: 0x0002FBE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.NPNHJLGFMIM != 0U)
			{
				num ^= this.NPNHJLGFMIM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001117 RID: 4375 RVA: 0x00031A40 File Offset: 0x0002FC40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001118 RID: 4376 RVA: 0x00031A48 File Offset: 0x0002FC48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001119 RID: 4377 RVA: 0x00031A54 File Offset: 0x0002FC54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.NPNHJLGFMIM != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.NPNHJLGFMIM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600111A RID: 4378 RVA: 0x00031AAC File Offset: 0x0002FCAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.NPNHJLGFMIM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NPNHJLGFMIM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600111B RID: 4379 RVA: 0x00031B04 File Offset: 0x0002FD04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CancelExpeditionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.NPNHJLGFMIM != 0U)
			{
				this.NPNHJLGFMIM = other.NPNHJLGFMIM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600111C RID: 4380 RVA: 0x00031B54 File Offset: 0x0002FD54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600111D RID: 4381 RVA: 0x00031B60 File Offset: 0x0002FD60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.NPNHJLGFMIM = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400072E RID: 1838
		private static readonly MessageParser<CancelExpeditionScRsp> _parser = new MessageParser<CancelExpeditionScRsp>(() => new CancelExpeditionScRsp());

		// Token: 0x0400072F RID: 1839
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000730 RID: 1840
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04000731 RID: 1841
		private uint retcode_;

		// Token: 0x04000732 RID: 1842
		public const int NPNHJLGFMIMFieldNumber = 14;

		// Token: 0x04000733 RID: 1843
		private uint nPNHJLGFMIM_;
	}
}
